
<head>

<title>
Blackberry Tracker 
</title>

<!-- Meta Tags -->
<meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" />
<meta http-equiv="refresh" content="60">

<!-- CSS -->
<link rel="stylesheet" href="Tracker.css" media="screen,projection" type="text/css" />

<!-- JavaScript -->
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAY1QK7f7Ke4QB5uiaRt5-vBRxsWbzWHYKdgAk-90yYqCKYXcSkhSStL28zHtAGLDDIzgNkYMCGuzeRA" type="text/javascript"></script>
<script src="TrackerCurrent.js" type="text/javascript"></script>

</head>

<?php
//include_once($_SERVER["DOCUMENT_ROOT"]."/shortstat/inc.stats.php");
$_POST["cpDistance"]=".5";
?>

<body>

<div id="header"> 
<h1><strong>Google Map</strong> BlackBerry Tracker</h1>
<div><STRONG>BLACKBERRY GPS TRACKER</STRONG></div>
</div>

<div id="container"> 
<div id="map"></div>

<div id="loadstatus"> 
<div id="information">
<strong>Distance</strong> : <span id="distanceMessage"></span> 
&#183; 
<strong>Time</strong> : <span id="timeMessage"></span> 
&#183; 
<strong>Avg Speed</strong> : <span id="speedMessage"></span> 
</div><!-- information -->
<div id="progress"></div>
</div><!-- loadstatus -->

<div id="sideBar"> 
<h2>DEVICE CURRENT LOCATION</h2>
<ul>
<li><p>Tracking device ID 4005FDFE.</p></li>
<li><p>Route history for <a href="Tracker.php">11/16/2007</a>.</p></li>
<li><p>View data file here -> <a href="xml_history.php" title="The XML File">datafile</a>.</p></li>
</ul>

<form id="checkpoints" method="post" action="CurrentLocation.php">
<fieldset>
<legend>Legend</legend>
<p id="firstHalf">First Half</p>
<p id="secondHalf">Second Half</p>

<p class="clear">
<img src="images/mm_20_green.png" />Start 
<img src="images/mm_20_yellow.png" />Checkpoint 
<img src="images/mm_20_red.png" />End 
</p>
</fieldset>

<a id="showStats" class="button">Stats</a>
<a id="hideStats" class="button">Map</a>

<label for="">Set Checkpoint Every</label>
<br />
<select id="cpDistance" name="cpDistance">
<option <?php if($_POST["cpDistance"]=="0"){echo "selected";}?> value="0">No checkpoints</option>
<option <?php if($_POST["cpDistance"]==".25"){echo "selected";}?> value=".25">1/4 Mile</option>
<option <?php if($_POST["cpDistance"]==".5" || $_POST["cpDistance"]==""){echo "selected";}?> value=".5">1/2 Mile</option>
<option <?php if($_POST["cpDistance"]=="1"){echo "selected";}?> value="1">1 Mile</option>
</select>
</form>
</div><!-- sidebar -->

<div id="stats"> 
<p>
<strong>Name</strong> : Driver
&#183; 
<strong>Vehicle</strong> : 2880 
&#183; 
<strong>Device ID</strong> : 4005FDFE 
&#183; 
<strong>Status</strong> : At Work
&#183; 
<strong>Date</strong> : 11/16/2007 
</p>

<table id="statsTable" summary="Calculated data on each checkpoint from the XML file. Shows distance traveled, time and average speed for each point.">
<caption>
Caption : Calculated data on each checkpoint from the XML file.
</caption>
<thead>
<tr><th>Points</th><th>Distance</th><th>Time</th><th>Speed</th></tr>
</thead>
<tfoot></tfoot>
<tbody></tbody>
</table>
</div><!-- stats -->

</div><!-- contaner -->

<div id="footer">
<p>Interested in custom gps or blackberry application solutions? <a href="mailto:" title="">Contact Us.</a></p>
<span>
&#183; 
<a href="http:///" title="Home">Home</a>
&#183; 
<a href="/about/" title="About">About</a>
&#183; 
<a href="/archives/" title="Archives">Archives</a>
&#183; 
<a href="/links/" title="Links">Links</a>
&#183; 
</span>
</div><!--footer-->

</body>
</html>